var gui : TextMesh;

function Start () 
{

}

function Update () 
{
	if(Input.GetKeyDown("p"))
	{
		Time.timeScale = 1 - Time.timeScale;
		gui.active =! gui.active;
	}
}